<?php

declare(strict_types=1);

namespace App\Robot\Dto;

class RobotMsgDto
{
    private int $recordId;

    private string $toId='';

    private string $msgType;

    private mixed $content;

    private int $serverId;

    private string $uuid;

    private string $filename = '';

    private bool $needChangeStatus = false;

    private array $extra = [];
    private array $toIdList = [];
    private int $sendType = 0;


    private array $reply = [];

    public function getRecordId(): int
    {
        return $this->recordId;
    }

    public function setRecordId(int $recordId): RobotMsgDto
    {
        $this->recordId = $recordId;
        return $this;
    }

    public function getToId(): string
    {
        return $this->toId;
    }

    public function setToId(string $toId): RobotMsgDto
    {
        $this->toId = $toId;
        return $this;
    }

    public function getMsgType(): string
    {
        return $this->msgType;
    }

    public function setMsgType(string $msgType): RobotMsgDto
    {
        $this->msgType = $msgType;
        return $this;
    }

    public function getContent(): mixed
    {
        return $this->content;
    }

    public function setContent(mixed $content): RobotMsgDto
    {
        $this->content = $content;
        return $this;
    }

    public function getServerId(): int
    {
        return $this->serverId;
    }

    public function setServerId(int $serverId): RobotMsgDto
    {
        $this->serverId = $serverId;
        return $this;
    }

    public function getUuid(): string
    {
        return $this->uuid;
    }

    public function setUuid(string $uuid): RobotMsgDto
    {
        $this->uuid = $uuid;
        return $this;
    }

    public function getFilename(): string
    {
        return $this->filename;
    }

    public function setFilename(string $filename): RobotMsgDto
    {
        $this->filename = $filename;
        return $this;
    }

    public function isNeedChangeStatus(): bool
    {
        return $this->needChangeStatus;
    }

    public function setNeedChangeStatus(bool $needChangeStatus): RobotMsgDto
    {
        $this->needChangeStatus = $needChangeStatus;
        return $this;
    }

    public function getExtra(): array
    {
        return $this->extra;
    }

    public function setExtra(array $extra): RobotMsgDto
    {
        $this->extra = $extra;
        return $this;
    }

    public function getToIdList(): array
    {
        return $this->toIdList;
    }

    public function setToIdList(array $toIdList): RobotMsgDto
    {
        $this->toIdList = $toIdList;
        return $this;
    }

    public function getSendType(): int
    {
        return $this->sendType;
    }

    public function setSendType(int $sendType): RobotMsgDto
    {
        $this->sendType = $sendType;
        return $this;
    }

    public function getReply(): array
    {
        return $this->reply;
    }

    public function setReply(array $reply): RobotMsgDto
    {
        $this->reply = $reply;
        return $this;
    }
}